#ifndef __GAMESTATE_H__
#define __GAMESTATE_H__
#include "Infomation.h"
#include "DxGraphics.h"
#include "DxInput.h"
#include "Sound.h"

enum GameState{Menu=0,Play=1,LoadGame=2};

class CGameSate
{
protected:
	LPDIRECT3DSURFACE9 _background;

public:
	static CDxInput* _dxInput;
	static CGraphics* _gr;
	static SOUND* _sound;

	CGameSate();
	~CGameSate();
	static GameState state;
	virtual void Game_Load(bool)=0;
	virtual bool Game_Init()=0;
	virtual void Game_Run(HWND,DWORD)=0;
	virtual void Game_Reset()=0;
	virtual void Game_Update(DWORD)=0;
	virtual void Game_End()=0;
};

#endif